<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="styles.css">
    <title>饮品菜单</title>
    <style>
        li{
            list-style: none;
            float: left;
            margin-left: 100px;
            position: relative;
        }
    </style>
</head>
<body>
    <nav>
        <ul class="main-menu">
        <ul class="main - menu">
            <li><a href="#">奶茶</a></li>
            <li><a href="#">果茶</a></li>
            <li class="has-sub-menu">
            <li class="has - sub - menu">
                <a href="#">咖啡</a>
                <ul class="sub-menu">
                <ul class="sub - menu">
                    <li><a href="#">美式咖啡</a></li>
                    <li><a href="#">拿铁咖啡</a></li>
                    <li><a href="#">摩卡咖啡</a></li>
                </ul>
            </li>
        </ul>
    </nav>
</body>
</html>